package com.job.shuang.HomeWork0705;

/**
 * @author liushuang
 * @version 1.0
 * @since 2022-07-06 09:50:48
 */
public class ThreeNumber0705 {
    public static void main(String[] args) {
        int count = 0;
        for (int i=1;i<5;i++){
            for (int j=1;j<5;j++){
                for (int k = 1; k <5 ; k++) {
                    if (i!=j && i!=k && j!=k){
                        count++;
                        System.out.println(i+""+j+""+k+"");
                    }
                }
            }
        }
        System.out.println("一共有"+count+"个互不相同且无重复的三位数字");
    }
}
